<template>
    <div class="plugin-container">
        <!-- <router-view></router-view> -->

        <el-card >
            <div slot="header" class="clearfix">
                <span>店铺扩展</span>            
            </div>
            <el-row :gutter="12" class="plugin-items">
                <el-col :span="6" >
                    <div @click="gotableManage">
                        <el-card shadow="hover" class="plugin-item" >
                            
                            <div class="item-title"><i class="tn-icon-canzhuo"></i> 桌位管理</div>
                         </el-card>
                    </div>
                    
                </el-col>
            </el-row>

        </el-card>
        <el-card >
            <div slot="header" class="clearfix">
                <span>营销工具</span>            
            </div>
            <el-row :gutter="12" class="plugin-items">
                <el-col :span="6" >
                    <el-card shadow="hover" class="plugin-item">
                           
                            <div class="item-title"> <i class="tn-icon-youhuiquan"></i> 优惠券</div>
                         </el-card>
                </el-col>
                <el-col :span="6" >
                    <el-card shadow="hover" class="plugin-item">
                           
                            <div class="item-title"> <i class="tn-icon-jian"></i> 满减</div>
                         </el-card>
                </el-col>
                 <el-col :span="6" >
                    <el-card shadow="hover" class="plugin-item">
                           
                            <div class="item-title"> <i class="icon iconfont tn-icon-houtai_yingxiao_zhifuyouli"></i> 支付有礼</div>
                         </el-card>
                </el-col>
                 <el-col :span="6" >
                    <el-card shadow="hover" class="plugin-item">
                            
                            <div class="item-title"><i class="icon iconfont tn-icon-daijinquan"></i> 代金券</div>
                         </el-card>
                </el-col>
                
            </el-row>
            <el-row :gutter="12" class="plugin-items">
                 <el-col :span="6" >
                    <el-card shadow="hover" class="plugin-item">
                           
                            <div class="item-title"> <i class="icon iconfont tn-icon-xianshizhekou"></i> 限时折扣</div>
                         </el-card>
                </el-col>
                 <el-col :span="6" >
                    <el-card shadow="hover" class="plugin-item">
                            
                            <div class="item-title"><i class="icon iconfont tn-icon-jindian"></i> 进店有礼</div>
                         </el-card>
                </el-col>
            </el-row>

        </el-card>
        
    </div>
</template>
<script>
export default {
    data(){
        return {}
    },
    methods:{
        gotableManage(){
            console.log('gototable')
            // debugger;
            // tableManagePage
            this.$router.push({path: '/tableManage'});
        }
    }

}
</script>
<style lang="scss" scoped>
.plugin-container{
    .plugin-items{
        margin: 10px;
        overflow: hidden;
        .plugin-item{
            // padding:0;
            font-size: 18px;
            background-color: #f9f9f9;
            cursor:pointer;
            :hover{
                background-color: rgb(226, 226, 226);
            }
            
                
            .item-title{
                text-indent: 1em;
                display: inline-block;
                // font-weight: 700;
                // margin-left: 10px;
                // line-height: 22px;
                font-size: 18px;
                
            }
            .item-title i{
                margin-right: 10px;
                vertical-align:middle; 
                font-size: 24px;
                // color: pink;
            }
           

        }
         .plugin-item:hover{
                 font-size: 20px;
                 color: #fd3ec5;
        }

    }
}
</style>


